import { Component, Input } from '@angular/core';
@Component({
  selector: 'app-log',
  templateUrl: './log.component.html',
  styleUrls: ['./log.component.scss']
})
export class LogComponent {
  @Input() data: any;
  @Input() columns: any;
  tableheight = 'calc(100vh - 100px)';
  dataTableOptions = {
    columns: [
    ]
  };//表格数据
  ngOnInit(): void {
    this.dataTableOptions = {
      columns:this.columns
    };//表格数据
  }
}
